Release 10.1A: OpenEdge Development:
Basic Development Tools


Saving a procedure

You can save the contents of the current buffer by:

Saving a procedure to a new file

To save a new, untitled procedure to a file:

  1. From the menu bar, choose File Save or File Save As. The Save As dialog box appears. See Chapter 4 "Procedure Editor Reference" for a detailed description of the Save As dialog box fields:
  2. Specify the file where you want to save the procedure.
  3. When you enter a filename, add the .p extension to the procedure file. Procedures are stored as operating system files. UNIX filenames are case sensitive, unlike Windows. Unless you specify a path when you name the file, OpenEdge stores the file in your current working directory.

Caution: Do not name a procedure _edit.p, because that is the name of the Procedure Editor. If you do, and the procedure falls before $DLC in your PROPATH, OpenEdge accesses the incorrect file when you try to run the Procedure Editor.

OpenEdge saves the procedure to the specified filename and keeps the buffer open so you can continue working in it. The buffer name changes to the specified filename.

The Procedure Editor cannot save a file with a comma in its name.

Saving a procedure to the current file

When you are in a named buffer and you choose File Save, OpenEdge automatically saves the procedure to the current filename and keeps the buffer open so you can keep working in it.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095